package com.linxb.service;

import com.linxb.client.EurekaFeignClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: linxubin
 * @Description:
 * @Date: Created in 2018-06-30 19:14
 * @modified by:
 **/
@Service
public class HiService {

    @Autowired
    EurekaFeignClient eurekaFeignClient;
    public String sayHiFromEurekaClient(String name) {
        return eurekaFeignClient.sayHiFromClientEureka(name);
    }
}
